import request from '@/utils/request'

// 查询拼多多推广日报列表
export function listBiPddPromotionDwd(query) {
  return request({
    url: '/pdd/BiPddPromotionDwd/list',
    method: 'get',
    params: query
  })
}
// 查询拼多多推广日报列表
export function selectShopList(query) {
  return request({
    url: '/pdd/BiPddShopRelation/selectShopList',
    method: 'get',
    params: query
  })
}

// 查询拼多多推广日报详细
export function getBiPddPromotionDwd(id) {
  return request({
    url: '/pdd/BiPddPromotionDwd/' + id,
    method: 'get'
  })
}

// 新增拼多多推广日报
export function addBiPddPromotionDwd(data) {
  return request({
    url: '/pdd/BiPddPromotionDwd',
    method: 'post',
    data: data
  })
}

// 修改拼多多推广日报
export function updateBiPddPromotionDwd(data) {
  return request({
    url: '/pdd/BiPddPromotionDwd',
    method: 'put',
    data: data
  })
}

// 删除拼多多推广日报
export function delBiPddPromotionDwd(id) {
  return request({
    url: '/pdd/BiPddPromotionDwd/' + id,
    method: 'delete'
  })
}
